<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColToDesignResultEffectTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('design_result', function (Blueprint $table) {
            $table->integer('effect_front_id')->default(0)->comment('效果图正面')->after('g_id');
            $table->integer('effect_back_id')->default(0)->comment('效果图背面')->after('g_id');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
